package com.ctsi.ssdc.service;


import com.ctsi.ssdc.model.PageResult;
import org.springframework.data.domain.Pageable;

import com.ctsi.ssdc.domain.LitemallCollect;
import com.ctsi.ssdc.domain.LitemallCollectExample;
import com.ctsi.ssdc.service.StrengthenBaseService;

import java.util.List;

/**
 * Service Interface for managing LitemallCollect.
 *
 * @author ctsi-biyi-generator
 *
 */
public interface LitemallCollectService 
	extends StrengthenBaseService<LitemallCollect, Integer, LitemallCollectExample>{


    /**
    * GET  /litemallCollects : get the litemallCollects firstStringBaseColumn.
    */
    PageResult<LitemallCollect> findFirstStringColumn(String str,Pageable pageable);

    List<LitemallCollect> queryByType(Integer userId, Byte type, Integer page, Integer limit, String sort, String order);

    LitemallCollect queryByTypeAndValue(Integer userId, Byte type, Integer valueId);

    void deleteById(Integer id);

    int add(LitemallCollect collect);

    int count(Integer userId, byte b, Integer gid);
}
